/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.longview.io.modules.grassimgs.entity;

import org.hibernate.validator.constraints.Length;

import com.longview.io.common.persistence.DataEntity;

/**
 * 分析结果图片Entity
 * @author ldn
 * @version 2018-05-09
 */
public class GrassImgs extends DataEntity<GrassImgs> {
	
	private static final long serialVersionUID = 1L;
	private String grassId;		// grass_id
	private String analysisId;		// 草场分析ID
	private String imgPath;		// 图片路径
	private String analysisVal;		// 图片分析值
	private String remark;		// remark
	
	public GrassImgs() {
		super();
	}

	public GrassImgs(String id){
		super(id);
	}

	@Length(min=0, max=64, message="grass_id长度必须介于 0 和 64 之间")
	public String getGrassId() {
		return grassId;
	}

	public void setGrassId(String grassId) {
		this.grassId = grassId;
	}
	
	@Length(min=0, max=64, message="草场分析ID长度必须介于 0 和 64 之间")
	public String getAnalysisId() {
		return analysisId;
	}

	public void setAnalysisId(String analysisId) {
		this.analysisId = analysisId;
	}
	
	@Length(min=0, max=200, message="图片路径长度必须介于 0 和 200 之间")
	public String getImgPath() {
		return imgPath;
	}

	public void setImgPath(String imgPath) {
		this.imgPath = imgPath;
	}
	
	public String getAnalysisVal() {
		return analysisVal;
	}

	public void setAnalysisVal(String analysisVal) {
		this.analysisVal = analysisVal;
	}
	
	@Length(min=0, max=100, message="remark长度必须介于 0 和 100 之间")
	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}
	
}